Skip to content

Conversation

@captainsafia
Copy link
Member

@captainsafia captainsafia commented May 2, 2025

Closes #61739.

cc: @sbomer

@ghost ghost added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label May 2, 2025
@captainsafia captainsafia added area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc feature-validation Issues related to model validation in minimal and controller-based APIs and removed area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions labels May 2, 2025
Assert.Equal(string.Empty, globalError.Key);
Assert.Equal("Data must be positive.", globalError.Value.Single());

var multiType = new TestValidatableTypeInfo(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should be a second test

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will address this in one of the next PRs I do in this area.

@captainsafia captainsafia merged commit d12915f into main May 2, 2025
27 checks passed
@captainsafia captainsafia deleted the safia/member-names-fix branch May 2, 2025 22:43
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview5 milestone May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc feature-validation Issues related to model validation in minimal and controller-based APIs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Min API validation throws when IValidatableObject returns ValidationResult without MemberNames

3 participants